package cn.linstudy.service;

import cn.linstudy.domain.Department;
import cn.linstudy.qo.DepartmentQuertObject;
import cn.linstudy.qo.PageResult;
import cn.linstudy.result.ResponseResult;

/**
 * @Description Department业务类接口
 * @Author XiaoLin
 * @Date 2021/3/2 16:39
 */
public interface DepartmentService {

  ResponseResult add(Department department);

  ResponseResult delete(Long id);

  ResponseResult update(Department department);

  ResponseResult listAll();

  ResponseResult listOneById(Long id);

  PageResult<Department> listForPage(DepartmentQuertObject qo);
}
